home *** CD-ROM | disk | FTP | other *** search
/ Inside Mac Games Volume 4 #9 / IMG 40 Sep 1996.iso / More Goodies / More for Your Game / Doom II / DFLE Users Folder / DFUSE Tutorials / DFTUTOR1.TXT next >
Text File  |  1996-02-05  |  32KB  |  623 lines

  1. DFUSE Tutorial - Part 1
  2.  
  3. By: Ben & Pat McBride  
  4. July 5, 1995
  5. E-mail us at --- Compuserve: 74454,1421  
  6. Internet: 74454.1421@compuserve.com
  7.  
  8. ===========================================================================
  9. What you will learn in Part I:
  10. How to use the DFUSE level editor (LEVMAP), Sectors, Lines, Vertices, Doors, 
  11. Textures, Objects, and How to test a level.
  12. ============================================================================
  13.  
  14. Hello! Welcome to the DFUSE Tutorial! 
  15.  
  16. *** You DO NOT need ANY Doom experience to use this tutorial! ***
  17.  
  18. We are assuming that you already have gotten DFUSE to run properly. If you are 
  19. having trouble getting DFUSE to work, I suggest you read the README file.
  20.  
  21. The way this tutorial works is like this: you print out the tutorial, load up
  22. DFUSE, read the tutorial and do what it says.  If you don't have a printer...
  23. well, I guess you can read the tutorial and later go back to DFUSE and try out
  24. what you learned.
  25.  
  26. Before we get started, there are a few things we have to do.  I assume you
  27. have installed DFUSE properly (with the -d option) and it has made a whole
  28. bunch of directories on your hard drive. Ok, now, from the DOS prompt,
  29. go to the directory: 
  30.  
  31. c:\dark\dfuse\dark
  32.  
  33. The DFUSE program is stored on c:\dark\dfuse, and your levels will be stored
  34. by DFUSE on the \dark subdirectory. So, what are we doing here so soon if you
  35. haven't even made a level yet? Well, if you want to start making your own 
  36. level in DFUSE, you first have to run the NEWLEVL!.EXE program, which just
  37. happens to be in this directory. Type "NEWLEVL!", and it creates six new
  38. files, all called NEWLEVEL with different extentions. In case you haven't 
  39. read (or tried to read) the Dark Forces Specs, here is a basic description
  40. of the different types of files used by Dark Forces: 
  41.  
  42. .LEV  --- These files store the info on the structure of the level 
  43. .O   --- 'O' stands for object. These contain all the info on the objects
  44. in your level (more on objects later).
  45. .INF  --- I'll explain more about this one in the next tutorial. Basically it
  46. is used to make switches, elevators, conveyor belts etc.
  47. .GOL ---  This contains the goals that the player must meet to complete the
  48. level (more on this in another tutorial).
  49. .PAL ---  This is the color palette used in your level. Unlike Doom, Dark
  50. Forces levels have a slightly different palette for each level.
  51. .CMP ---  You won't have to worry about this one. If your really interested 
  52. in it, you can find more info in the DF specs.
  53.  
  54. All of the above files can be edited in (except for .CMP and .PAL) any old
  55. text editor (like the one you used to print this out!). We just use the
  56. EDIT program that comes with MS-DOS. You won't have to be editing the .LEV or
  57. .O files (that's what DFUSE is for!), but you will be editing the .INF and
  58. .GOL files - don't worry, we'll explain how to do that in another tutorial.
  59.  
  60. Allright, if your confused about all that file stuff, it's OK because we won't 
  61. be using it for a while. Now, I'm sure you want to start learning how to make
  62. a level. Just be patient, we'll start pretty soon...
  63.  
  64. Now back to the NEWLEVEL files.  We can't keep them named NEWLEVEL, because 
  65. we have to replace them with one of Lucasart's levels (Don't worry, this won't
  66. delete Lucasarts' levels! They are safely stored on your CD-ROM). The first
  67. level of Dark Forces, Secret Base, has the filename SECBASE, so we want to
  68. rename all the NEWLEVEL files as SECBASE. To do this, just type (from the
  69. c:\dark\dfuse\dark directory) "rename newlevel.* secbase.*" 
  70.  
  71. Now SECBASE is ready to be edited in DFUSE. Go to the  c:\dark\dfuse  
  72. directory and run DFUSE by typing "dfuse". From the DFUSE menu, type "L" 
  73. to go to the levels menu. By typing "C", you will be able to choose the level
  74. you want to edit. To get to the new level that was created, choose SECBASE
  75. from the list of levels, and push enter. To edit the level using LEVMAP 
  76. (DFUSE's level editor), type "M" to view the level map. After DFUSE reads a 
  77. few files, you should be on a screen with a few shapes. This is the level 
  78. you will use to create your own. Now, you can begin learning how to use the 
  79. LEVMAP editor.
  80.  
  81. *Note*  The DFUSE LEVMAP editor runs ALOT better with a smartdrive cache. I
  82. use a cache of 500k, and it really improves the speed of LEVMAP and
  83. doesn't seem to interfere with running Dark Forces. If
  84. you don't know how to use smartdrive, read your DOS manual or from
  85. the DOS prompt type "help smartdrive". You don't *have* to use a 
  86. smartdrive cache to be able to make levels, but it will save you 
  87. alot of time!
  88.  
  89. OK, looks like we're ready to get started! 
  90.  
  91. =================================
  92. Section 1 - A Really Simple Level
  93. =================================
  94. In this section we will show you how to make a simple 2 room level with a
  95. door in between.
  96.  
  97. Ok, so you should now be in LEVMAP ready to make a new level.  If you look 
  98. around, you should see three shapes in the center of the screen. These shapes
  99. are actually 'rooms' which you could walk around in if you were playing
  100. Dark Forces.  All 'rooms' are known as Sectors in DFUSE. So right now there
  101. are three sectors on the screen. Why are there sectors here if this is
  102. supposed to be a new level?  It is because of the way DFUSE works.  In DFUSE
  103. you don't actually "make" new sectors or objects - you "copy" them. Thus you  
  104. have to start with something. You'll understand what I'm talking about more 
  105. as we go on.  
  106.  
  107. LEVMAP starts out in sector mode when you first load it up, so right now you
  108. are in sector mode.  To select a sector, move the cursor (with the mouse) to
  109. anywhere inside the sector you want to select, and click the mouse button.
  110. The sector should change color to red. You may be wondering why one of the
  111. sectors is yellow, but don't worry about that for now.  In the upper right  
  112. hand corner of the screen (the right most blue box), there are a bunch of
  113. abbreviations and numbers.  This box gives you information about the currently
  114. selected sector.  Here is a description of what all those abbreviations
  115. mean:
  116.  
  117. SECTOR INFO BOX
  118.  
  119. Nam: ' '  [Name] (This is the name of the sector) 
  120. Lay [Layer] (The layer (or level) that the sector is on)  
  121. FAl: [Floor Altitude] (how high the floor is)
  122. CAl: [Ceiling Altitude] (how high the ceiling is)
  123. FTx: [Floor Texture]     Xo: [X Offset]    Zo: [Z Offset]  (Don't worry about
  124. CTx: [Ceiling Texture]                                      offsets for now)
  125. Flg: [Flags] (Setting different flags changes the characteristics of
  126. the sector)
  127. Amb: [Ambience] (The light level of the sector. range is 0 (dark) to 32 (light))
  128. 2Al: [2nd Altitude] (Used for making water and bridges, more later on this)
  129.  
  130.  
  131. Alright, are you ready to make your own sector? Good! Highlight the sector
  132. on the far right. Ok, now move the cursor anywhere on the screen, and push
  133. the Insert key on the keyboard...Tah Dah! You now have another sector! Simple,
  134. isn't it. Now we want to position the sector near the other one. To move
  135. the sector, put the cursor where you want to move it to, and click the
  136. right mouse button. Notice how the sector moves - the point on the sector
  137. where there is a large dot (the upper right hand corner of the sector) moves 
  138. to the point of the cursor.  Move it around some more until you get the feel 
  139. for how the sector moves.  
  140.  
  141. We now want to position the sector above the other one, and line it up. To do 
  142. this we need to use the Grid.  Pushing <ALT + G> will bring up the grid.  
  143. The grid consists of a bunch of orange dots, which help you line things up. 
  144. Move the sector around some more, and you'll see that the sector 'snaps' 
  145. on to the grid, and you can't move it anywhere in between the grid dots. Move
  146. the sector so that it looks like this:
  147.  
  148. ________
  149. |        |
  150. | copied |   (move the sector to here)
  151. | sector |
  152. |________|
  153. .  .  .  .      
  154. ________
  155. |        |
  156. |original|                 Diagram 1-1
  157. | sector |
  158. |________|
  159.  
  160.  
  161. You are now ready to edit the sector.  This is done by highlighting the
  162. sector (highlight the copied sector) and pushing the Enter key.  Look in
  163. the blue box in the upper right, and you'll see that "Nam:" is highlighted
  164. in red.  By using the up and down (or left and right) arrow keys, you can 
  165. highlight the different things (try it).  Got it? Good! Now highlight "Nam:"   
  166. again.  It would be really nice to change the name of this sector we
  167. have copied to something different than the original. After all, its not
  168. even the start point. Hit Enter. You are now ready to type in the name 
  169. of your sector.  Let's call it 'my_sector'. To do that type in "my_sector" 
  170. and push enter. Now push the Escape key. This gets you back to the level,
  171. and notice that your sector is now named 'my_sector'.
  172.  
  173. Now you know how to copy and edit sectors, so we're ready to go to line mode.
  174. To change from sector mode to line mode, push "L".  You can now highlight the
  175. individual lines in each sector.  If you look in the blue box in the right
  176. corner, you'll see it has different information.  Looks like its time for
  177. another info box:
  178.  
  179. LINE INFO BOX
  180.  
  181. Adj: [Adjoin]   Mir: [Mirror]    Wlk: [Walk]  (These are all handled by DFUSE
  182. so you don't have to worry
  183. about them)
  184. Mid: [Middle Texture]  (Texture on the middle wall, like Doom normal texture) 
  185. Top: [Top Texture] (Texture above the middle wall, like Doom upper texture)
  186. Bot: [Bottom Texture] (Texture below the middle wall, like Doom lower tex.)
  187. SGN: [Sign] (used to put button textures on walls)
  188. Flg: [Flags] (Setting different flags changes the characteristics of a line)
  189. Lig: [Light] (Light level of the selected wall, can be different than the
  190. sector light level)
  191.  
  192.  
  193.  
  194. At this point, I should tell you how to zoom in and out. If you push the "+"
  195. key (make sure you hold shift, or you'll get the "="), it will zoom in a
  196. little, and the more you push it, the more it will zoom in. The "-" key works
  197. the same, except that it zooms out instead of in. Try them out. Another neat
  198. feature is the center feature. If you push the "C" key, it will zoom in alot
  199. on the position of the cursor. This will come in handy later. Also, if you
  200. push the "*" key, the map will zoom out to its original position.  You can
  201. also move around the map with the arrow keys. If you still have the grid on,
  202. you can turn it off by pressing <alt + G>, and just so you know, pushing "G"
  203. and <Shift + G> will cycle through the different grid sizes. Try all these 
  204. out to see how they work.
  205.  
  206. Back to lines.  Let's make our sector ('my_sector') a little larger.  
  207. Highlight the right most line of the sector. You can now move the line around,
  208. just like the sectors - with the right mouse button.  Notice that when you
  209. move the line the sector stretches out with the line and is still connected.
  210. Ok, move the line out to the right a little, so the sector will be longer.
  211. Now highlight the left line and move it out to the left a bit.  You might
  212. also want to move the top line up some more. You now have a bigger sector!
  213. The screen should look somewhat like this:
  214.  
  215. _______________
  216. |               |
  217. |               |
  218. |  'my_sector'  |  
  219. |               |
  220. |_______________|
  221. .  .  .  .      
  222. ________
  223. |        |                      Diagram 1-2
  224. |original|
  225. | sector |
  226. |________|
  227.  
  228.  
  229.  
  230. Now let's change the look of our sector.  Highlight one of the lines, and
  231. press enter. Lines can be edited just like sectors. Highlight "mid:" and
  232. push enter to change the middle texture. DFUSE goes to the texture selection
  233. screen.  You can use the arrow keys to move up and down the list of
  234. textures, and the currently selected texture will be shown to the right.
  235. Find a texture that you think looks cool, and push enter to select it. The
  236. wall will now look like the texture you selected when you play your
  237. level. Its sort of like putting wallpaper on a wall in your house (except it
  238. doesn't take half as long <g>).  You don't have to change the top or
  239. bottom textures for this wall, because only the mid texture will be seen.   
  240. We'll explain when to use top and bottom textures later on, of course!
  241.  
  242. *Note for DOOMers*  
  243. Unlike Doom, every single line in Dark Forces has mid, top, and bottom
  244. textures, even lines where you only need mid texture. The DF engine just
  245. uses the textures it needs, and disregards the others. 
  246. ******************
  247.  
  248. So what if you want to change the textures on ALL the walls in the sector?
  249. Do you have to highlight and change each one individually? No, of course
  250. not! DFUSE has a nifty little feature called Multiselection, which lets
  251. you highlight a whole bunch of things and change them all at the same time.
  252. To multiselect a line, <shift + left click> on it. The line should turn
  253. white. Every other line you <shift + left click> on will become white also
  254. and be added to the multiselection.  So, multiselect all four wall in 
  255. 'my_sector', and then press <alt + enter> to edit them all at the same
  256. time. If you only press enter, it will only edit one line, so be sure
  257. to press <alt + enter>. Highlight "mid:" to change the middle texture, and
  258. press enter.  Select a nice looking texture, and press enter.  Now press
  259. escape to get back to the map. Hitting the Backspace key will unselect all
  260. the multiselected walls, so do that now.  If you did everything correctly,
  261. all the walls should have the same texture on them. Check them all to
  262. make sure. 
  263.  
  264. Multiselection not only works with lines, but also sectors.  Also, you can
  265. change other things, such as flags, light level, floor/ceiling heights etc.,
  266. not just textures.
  267.  
  268. Making the Door----
  269. Now its time to make a door! You can start by going to sector mode (push "S").
  270. Create a new sector by copying 'my_sector' to a free spot on the map. This
  271. sector will be our door.
  272.  
  273. Before you can make the door, however, I have to introduce you to another
  274. mode in DFUSE: Vertices mode. Pushing "V" will take you into vertices mode.
  275. You should now notice that there is a green dot in each corner of the
  276. sectors.  These green dots are called Vertices.  What is a vertice? Well, its
  277. simple: every line has two vertices, and the vertices are the starting
  278. and ending points of the line.
  279.  
  280. X------------------------X
  281. vertice      line         vertice
  282.  
  283. You can highlight vertices by clicking on them, and you can move them just
  284. like lines and sectors...with the right mouse button.  Vertices cannot,
  285. however, be edited by pressing enter. There is no way to edit a veritce,
  286. because there is no need to.  
  287.  
  288. Our goal now is to make a door in between the two sectors. When we are done
  289. it should look like this:
  290.  
  291. X---------------X  <- vertice
  292. |               |
  293. |               |
  294. |  'my_sector'  |                    Diagram 1-3
  295. |               |
  296. X-----X--X------X
  297. |  |        <- door
  298. X--X--X--X_
  299. |        |
  300. |original|
  301. | sector |
  302. X--------X
  303.  
  304. To make room for the door in between the sectors, we must add two vertices
  305. to the bottom line of 'my_sector' and two to the top line of 'start_point'.
  306. To insert vertices, first go to line mode ("L" key), then highlight the
  307. bottom line of 'my_sector'. Now push the Insert key. This splits the line
  308. by adding a vertice in the center of the line (go to vertices mode to
  309. look at this, then go back to line mode). The line that was previously
  310. there has now been split into two different lines.  Highlight one of these
  311. lines, and push Insert to split it.  Now go back to vertices mode. Great,
  312. we now have 4 vertices on the bottom line of 'my_sector'. But they are in
  313. the wrong spots, so you'll want to move the vertices towards the middle
  314. of the line, to make it look like the above diagram (move the vertices
  315. with the right mouse button, and notice they are still attached to the
  316. line).
  317.  
  318. If your lines are not straight, you may want to turn on the grid (alt + G)
  319. and move the vertices around on it until the lines are straight. The lines
  320. don't have to be straight, but it looks nicer for what we're doing.
  321.  
  322. Now you'll want to add two more vertices to the top line of 'start_point'.
  323. Do this the same way you did the bottom line of 'my_sector'.  Make sure
  324. you line up the two middle vertices with the two from 'my_sector', so that
  325. our door will be straight.  Ready to put the door in? Here we go...
  326.  
  327. Go into vertices mode first. What we want to do is connect the 4 vertices
  328. of the door to the 4 vertices on the lines of the sectors, thus placing the
  329. door sector in between the other two sectors.  To connect vertices, you
  330. use <alt + right mouse button>. So if you highlight a vertice, move the cursor 
  331. near the one you want to connect it to, and press <alt + right mouse button>,
  332. it will move the highlighted vertice onto the other one, and connect the two 
  333. vertices. This may sound confusing, so we'll show it to you with a diagram:
  334.  
  335.  
  336. X---------------X  
  337. |               |           1             2
  338. |  'my_sector'  |            X-----------X
  339. |               |            |           |
  340. |    a    b     |            |  soon to  |
  341. X----X----X-----X            |  be door  |         
  342. X-----------X
  343. X--X----X--X              3             4
  344. |  c    d  |
  345. |          |
  346. |          |
  347. X----------X                             Diagram 1-4
  348.  
  349.  
  350. First connect "1" to "a" (see diagram 1-4 above) by highlighting "1", moving 
  351. the cursor near vertice "a", and pressing <alt + right mouse button>.
  352. Then connect vertice "2" to "b", "3" to "c", and "4" to "d". It should now
  353. look like diagram 1-3. Name the door sector 'door'. 
  354.  
  355. But we're not done yet! We now have two problems:
  356. 1) The door sector won't open like a door
  357. 2) You can't walk through the lines that make up the door, so you wouldn't be
  358. able to walk under the door even if you could open it.
  359.  
  360. First let's deal with problem #2. To make lines that the player can walk 
  361. through, we must "adjoin" the lines.  Go to line mode. Now click the left 
  362. mouse button a little bit below line c-d (see diagram 1-4). The line should
  363. turn red and be facing inside sector 'start_point'.  Now click a little above
  364. line c-d. The same line should be red, but now facing towards the 'door'
  365. sector. If you're having trouble highlighting the lines, zoom in some, and
  366. try again.  There are actually two lines on line c-d, one facing towards
  367. the 'start_point' sector, and another facing towards the 'door' sector.
  368. To make it so the player can walk through line c-d, we have to adjoin the
  369. two lines.  Highlight line c-d, and press the "A" key to adjoin the two
  370. lines.  A red box should appear and say "1 adjoin/mirror found". If it says
  371. "no adjoin found", you must have done something wrong, so go back and see
  372. if you can find the problem.  If it worked, the line should turn dark green.
  373. For future reference, all dark green lines are lines that the player can 
  374. walk through.  Now highlight line a-b.  Push "A" and it should adjoin this 
  375. line. Now the player will be able to walk through the door sector!
  376.  
  377. Now to solve problem #1. This one is simple - to make the sector 'door'
  378. a door you can open and close, we have to set the appropriate flag. So I'll
  379. teach about how to use the flags. Go to sector mode. Highlight the sector
  380. 'door'. Push enter. Move the red cursor to the first 0 after "flg:", and
  381. push enter. A list of flags now comes up. To set a flag, push the spacebar.
  382. The flag will turn red. You can set as many flags as you want to, not just
  383. one, and enter takes you out of the flags. Here is the list of flags you 
  384. should see:
  385.  
  386. +-----------------------------------+
  387. |      1 EXTERIOR - NO CEIL.  (SKY) | used for making sky
  388. |      2 DOOR                       | makes the sector a door
  389. |      4 SHOT REFLEXION / MAG.SEAL  | walls reflect weapon shots
  390. |      8 EXTERIOR ADJOIN            | for adjacent skys
  391. |     16 ICE FLOOR        (SKATING) | makes the floor 'slippery'
  392. |     32 SNOW FLOOR                 |
  393. |     64 EXPLODING WALL/DOOR        | makes the sector an exploding door
  394. |    128 EXTERIOR - NO FLOOR  (PIT) | used for making pits
  395. |    256 EXTERIOR FLOOR ADJOIN      | for adjacent pits
  396. |    512 CRUSHING SECTOR            | makes the ceiling crush the player
  397. |   1024 NO WALL DRAW / "HORIZON"   | horizon moves with eye level
  398. |   2048 LOW  DAMAGE                | Sector takes small amt. of life
  399. |   4096 HIGH DAMAGE   (both = GAS) | both can be combined for GAS
  400. |   8192 NO SMART OBJECT REACTION   |
  401. |  16384 SMART OBJECT REACTION      |
  402. |  32768 SUBSECTOR                  | player doesn't move with sector
  403. |  65536 SAFE SECTOR                |
  404. | 131072 RENDERED     (do not use!) | 
  405. | 262144 PLAYER       (do not use!) |
  406. | 524288 SECRET SECTOR              | increases the secret % when entered
  407. +-----------------------------------+
  408.  
  409. We won't be using most of these flags in this part of the tutorial, but
  410. I just wanted to make the chart complete. If there is no description by
  411. a flag, that means that its function is unknown to us. If anyone knows what 
  412. these other flags do, please e-mail us with a description of them.
  413.  
  414. As you can probably figure out, we want to set the DOOR flag (flag 2). Simply
  415. highlight flag 2, press the space bar, then press enter to exit the flags.
  416. After flg: there should be a "2". Press escape to get back to the map. high-
  417. light a different sector, and you'll notice that the door sector is now
  418. yellow. This means that you have made a door! It's as simple as that!
  419.  
  420. Now all we have to do is make it look like a door. Change the TOP textures on
  421. the front and back walls of the door to a door texture (or something that
  422. looks like a door).  You would want to change the TOP textures because the 
  423. MID texture will not be shown. On lines that you can walk through, the MID
  424. texture is not shown (unless you specifically tell it to be shown) so that 
  425. you can see what is on the other side of the line.
  426.  
  427. We will also want the door sector to be darker than the other sectors, so it
  428. will look like there is a shadow under the door.  To do this, edit the sector
  429. and change "amb:" from 31 to 25. The lightest a room can be is 32, and pitch 
  430. black is 0.
  431.  
  432. We have shown you how to change wall textures, but ceiling and floor textures
  433. can also be changed. You can do this by editing the sector, highlighting
  434. "FTx:" for floor texture or "CTx:" for ceiling texture, and pushing enter.
  435. You can now pick a texture just as you would a wall texture. However, for
  436. floors and ceilings, only size 8 x 8 textures will work. If you pick a larger
  437. texture it won't look right, so be sure to pick an 8 x 8.
  438.  
  439. Adding Objects------
  440. Objects consist of enemies, power-ups, ammo, scenery etc. Before we add in
  441. some objects, though, we'll have to switch modes again. To switch to object 
  442. mode press "O".  After you switch to object mode you should see a small green
  443. X- and a small gray -S- in the 'start_point' sector. The red circle around
  444. the green -X- means it is the currently selected object. You can select
  445. objects using the first mouse button, and move them with the second mouse
  446. button. You'll also notice there is different info for OBJECTS in the right
  447. blue box. Here's a chart showing what it all means: 
  448.  
  449. OBJECT INFO BOX
  450.  
  451. Cls: [Class] (The catagory of the object)   
  452. Nam: [Name] (File name of the object)
  453. Log: [Logic] (The way the object acts in Dark Forces)
  454. X:,Z:,Y: [X,Z, & Y coordinates] (Tells Dark Forces where to place the object)
  455. Pch: [Pitch]   Rol: [Roll]
  456. Yaw: [Yaw] (The angle the object is facing)
  457. Dif: [Difficulty] (The difficulty level the object appears on)
  458. Seq: [Sequence] (Autimatically set by DFUSE)
  459.  
  460.  
  461. If you highlight the green -X- you'll notice the Logic of this object is 
  462. PLAYER. This object is the player start. If you look at the red circle 
  463. around the player start, you'll notice there's a line extending upward. This
  464. red line shows the way the object is facing. By changing the YAW, you can
  465. change the way the object faces. The YAW can be any number between 0 and 360
  466. (0 = up, 90 = right, 180 = down, 270 = left). Next, look at the Y coordinate
  467. of the object. The object's Y coordinate is 4. Since the sectors floor
  468. altitude is 0, the player start is 4 off the ground. This just means that
  469. when you play your level in Dark Forces, you'll fall to the ground when you
  470. start. By changing the Y coordinate of an object, it will change the altitude
  471. of the object. You won't have to worry about changing the X and Z coordinates
  472. begause DFUSE does that for you. Try it out by changing the player start's 
  473. Y coordinate to 0, so you will start on the ground.
  474.  
  475. Now, you're probably wondering what the gray -S- is. Let's highlight it to
  476. find out. The class of this object is SAFE. A SAFE is a save point. When 
  477. playing a level in Dark Forces, if you walk into a room containing a SAFE
  478. (it's invisible in the game), you will start at the SAFE when you die. The
  479. YAW is 0 meaning that you will face up (or north).
  480.  
  481. Let's try to add another type of object to our level. Use the arrow keys to
  482. move the map to the left until you see 2 more sectors. In the big green
  483. sector, you'll notice there are lots of objects. The different colors mean
  484. they have different Class. This sector is here so you can copy objects from 
  485. it to add to your level. Highlight the brown circle with Logic: ENERGY (this 
  486. is standard ammo for your pistol). Move the cursor back into the 'start_point' 
  487. sector and position the cursor in an empty spot. Press Insert to Copy the 
  488. ammo into 'start_point'. The Class of the ammo is FRAME, meaning it is only 
  489. 1 frame of animation. The YAW won't matter for objects with a Class: FRAME
  490. because they look the same from every angle.
  491.  
  492. Since you would probably want more ammo in you level, lets copy it a few
  493. times. Highlight the ENERGY and copy it a few more times to different spots
  494. in the 'start_point' sector. But, what good is ammo if there's nobody to
  495. shoot. Lets add a couple of Storm Troopers to our level to make it more fun.
  496. Find the blue box object with Nam: STORMFIN.WAX (this is the file that 
  497. contains the storm trooper). Copy the storm trooper to 'my_sector' and 
  498. position him on the left side near the door. The only problem is that he's 
  499. facing up. When you enter the room from the door, he won't even know
  500. you're there. So, lets make him face down. To do that, we'll have to change
  501. the YAW to 180 (which is south). Now he'll be a much better guard. To make it
  502. a little harder, we'll add another storm trooper guarding the door. Copy the
  503. storm trooper you just changed to the right side near the door.
  504.  
  505. The room with the objects is really handy for copying objects, but say you
  506. wanted to put in an object that it didn't have in it.  To make your own
  507. object, you start by first copying an object. So, lets copy one of the storm
  508. troopers into an open area in 'my_sector'. Now we're going to change the
  509. storm trooper into the Death Star Plans. Edit the storm trooper you copied,
  510. highlight class, and press Enter. There is a list of the different classes
  511. you can choose for you're object. Here's a list of what the classes mean:
  512.  
  513. CLASSES
  514.  
  515. Spirit: Used only for player start
  516. Safe:   Used only for making save points
  517. 3d:     3D objects (ex. Kyle's ship, TIE fighter, mousebot, Death Star holo, etc.)
  518. Frame:  Objects that aren't animated & only have one view (ex. ammo, weapons, 
  519. dead guys, other scenery, etc.)              
  520. Sprite: Objects that are animated, or have more than one view (ex. ALL 
  521. enemies, and some scenery)
  522. Sound:  All sounds in the game (ex. water flowing, wind blowing, etc.)
  523.  
  524.  
  525. Look at what objects are in the different classes before we go on.
  526.  
  527. To put in the Death Star Plans, we'll have to look under the class, SPRITE,
  528. because it is animated. After you select SPRITE for your class, highlight
  529. 'Nam:' and press Enter. The Death Star Plans are in the file IDPLANS.WAX.
  530. After IDPLANS.WAX is selected, we'll have to set the right logic. To do this,
  531. we'll need to use DFUSE's "Set Logic" feature. By pressing "S" anytime you
  532. are editing the object's info box, DFUSE will set the correct logic for the
  533. file you've chosen. Edit the DS plans object and press "S" now. It should
  534. change the Logic from TROOP (which was set on the copied storm trooper) to
  535. PLANS (which is the Death Star Plans logic). There, you've just created the
  536. Death Star plans!
  537.  
  538. If you want to you can add other bad guys, weapons or whatever you want
  539. to your level. You also might want to put in a 3d object, like the Death
  540. Star hologram, to see what its like.
  541.  
  542. Now you should be finished with the level, so I'll show you how to test it
  543. out. Oh, be sure to save your work! This is a very important thing to
  544. remember. To save press "F2", then press enter to save. You should save your
  545. level often, because you wouldn't want to loose your work!
  546.  
  547. Testing the Level----
  548. There are different ways to test out your level, and I will show you the
  549. one I think is easiest.
  550.  
  551. Exit out of LEVMAP by pressing Escape, and if you haven't yet saved your level
  552. you'll want to do that now.  Now just keep pressing escape until you are
  553. back in DOS.  Go to the directory c:\dark\dfuse\dark. To test out the level,
  554. we will copy all the Secbase files to the c:\dark directory. Dark Forces
  555. reads the c:\dark directory before it get the info from the CD, so if the
  556. Secbase files containing our level are there, it will read them instead of
  557. the level on the CD. To copy our level to c:\dark, type:
  558. "copy secbase.* c:\dark"
  559. and hit enter. This will copy the 6 files that make up our level. Now just
  560. load up Dark Forces as you normally would, and select level 1.  When the
  561. level loads up it should be the level you made.  Try it out and make sure
  562. everything works!
  563.  
  564. DFUSE ShortCuts----
  565. Before we finish this part of our tutorial, we would like to show you some
  566. shortcut ways to do some of the things we taught you.  Be sure to try them
  567. all out, for they will save you some time!
  568.  
  569. * If you highlight a line and hit "E" it will extrude the wall. This is
  570. good for making doors.
  571.  
  572. * In sector mode, hitting "D" will allow you to scale (make bigger or smaller)
  573. sectors and rotate them.
  574.  
  575. * Pushing "K" in sector mode will let you create a sector with as many sides
  576. and as large as you specify.
  577.  
  578. * You don't have to connect vertices to connect sectors like we did to
  579. connect the door. You can use <alt + right click> to connect things in
  580. line mode and in sector mode. Connecting in vertices mode is easier to
  581. understand, but takes a little more time.
  582.  
  583. * For more shortcuts and features, print out and read the file LEVKEYS.DOC
  584. in the c:\dark\dfuse\doc directory. You can also view this file in LEVMAP
  585. by pressing F1. Having a printout will come in very handy!
  586.  
  587.  
  588. Well, that's the end of Part I of our DFUSE tutorial. :(
  589. But the good news is, we are going to make more parts! :)
  590.  
  591. Part II will show you things like:
  592. How to make a sector inside a sector
  593. Floor and Ceiling heights (steps)
  594. How to use 2nd Altitude to make bridges and water.
  595. How to make exploding walls
  596. More about Flags
  597. We may even start teaching about .INF files
  598.  
  599. Part III will definately have lots of .INF stuff, like switches, elevators,
  600. morphing walls (not to be confused with Power Rangers <g>) and a whole bunch
  601. of other cool stuff!!!
  602.  
  603. FEEDBACK !!!!! ----
  604. That is one thing we need LOTS of!  In order to be able to improve our
  605. tutorials and make them what you want them to be, you NEED TO TELL US WHAT
  606. YOU THINK!!! PLEASE send us e-mail with any questions, comments, complaints,
  607. etc. you have. If you don't understand something in this tutorial, you can
  608. e-mail us and we'll try to help. Here's our E-Mail addresses:
  609.  
  610. On Compuserve:  74454,1421
  611. From the Internet or any other On-Line service:  74454.1421@compuserve.com
  612.  
  613. Don't Forget to send us FEEDBACK!  See you next tutorial!
  614.  
  615. Ben & Pat McBride
  616.  
  617.  
  618. P.S.  If you are on any other online services (besides Compuserve), please
  619. upload this file there so it can be widely distributed. Thanks.
  620.  
  621.  
  622.  
  623.